package com.leoman.customer.service;

import com.leoman.common.core.Result;
import com.leoman.common.service.GenericManager;
import com.leoman.customer.entity.Customer;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by Daisy on 2016/12/27.
 */
public interface CustomerService extends GenericManager<Customer> {

    public Result saveCustomer(Customer customer);

    public List<Customer> findByAdminId(Long adminId);

    public Page<Customer> findPage(Long adminId, String searchContent, String grade, String createDate, Integer start, Integer length);

}
